#pragma once
#include "util/noncopyable.h"

#include <set>
namespace net_tools::base
{
  class Timeevent;
  class Timeeventset : util::noncopyable
  {
  public:
    Timeeventset();
    ~Timeeventset();
    void Add_timejob(Timeevent *timeevent);
    bool Del_timejob(Timeevent *timeevent);
    void Del_all_timejob();

  private:
    std::set<Timeevent *> timeeventset_;
  };

} // namespace net_tools::base